home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1993 July / InfoMagic USENET CD-ROM July 1993.ISO / sources / std_unix / v20 / repdir / 1003.2 < prev    next >
Mailbox/MIME Entity  |  1990-08-02  |  6.7 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file Mailbox text, 1st line "From uucp@tic.com Thu Jun 21 18:03:02 1990", ASCII text default
100% TrID E-Mail message (Var. 2) default
100% perlTextCheck Likely Text (Perl) default
100% detectItEasy Format: Plain text[LF] default
100% xdgMime application/mbox default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 72 6f 6d 20 75 75 63 | 70 40 74 69 63 2e 63 6f |From uuc|p@tic.co|
|00000010| 6d 20 20 54 68 75 20 4a | 75 6e 20 32 31 20 31 38 |m Thu J|un 21 18|
|00000020| 3a 30 33 3a 30 32 20 31 | 39 39 30 0a 52 65 63 65 |:03:02 1|990.Rece|
|00000030| 69 76 65 64 3a 20 66 72 | 6f 6d 20 63 73 2e 75 74 |ived: fr|om cs.ut|
|00000040| 65 78 61 73 2e 65 64 75 | 20 62 79 20 75 75 6e 65 |exas.edu| by uune|
|00000050| 74 2e 75 75 2e 6e 65 74 | 20 28 35 2e 36 31 2f 31 |t.uu.net| (5.61/1|
|00000060| 2e 31 34 29 20 77 69 74 | 68 20 53 4d 54 50 20 0a |.14) wit|h SMTP .|
|00000070| 09 69 64 20 41 41 32 36 | 39 38 32 3b 20 54 68 75 |.id AA26|982; Thu|
|00000080| 2c 20 32 31 20 4a 75 6e | 20 39 30 20 31 38 3a 30 |, 21 Jun| 90 18:0|
|00000090| 33 3a 30 32 20 2d 30 34 | 30 30 0a 50 6f 73 74 65 |3:02 -04|00.Poste|
|000000a0| 64 2d 44 61 74 65 3a 20 | 32 31 20 4a 75 6e 20 39 |d-Date: |21 Jun 9|
|000000b0| 30 20 32 30 3a 31 37 3a | 35 30 20 47 4d 54 0a 52 |0 20:17:|50 GMT.R|
|000000c0| 65 63 65 69 76 65 64 3a | 20 62 79 20 63 73 2e 75 |eceived:| by cs.u|
|000000d0| 74 65 78 61 73 2e 65 64 | 75 20 28 35 2e 36 34 2f |texas.ed|u (5.64/|
|000000e0| 31 2e 36 33 29 0a 09 69 | 64 20 41 41 31 31 35 34 |1.63)..i|d AA1154|
|000000f0| 34 3b 20 54 68 75 2c 20 | 32 31 20 4a 75 6e 20 39 |4; Thu, |21 Jun 9|
|00000100| 30 20 31 37 3a 30 32 3a | 35 32 20 2d 30 35 30 30 |0 17:02:|52 -0500|
|00000110| 0a 52 65 63 65 69 76 65 | 64 3a 20 62 79 20 6c 6f |.Receive|d: by lo|
|00000120| 6e 67 77 61 79 2e 74 69 | 63 2e 63 6f 6d 20 28 34 |ngway.ti|c.com (4|
|00000130| 2e 32 32 2f 74 69 63 2e | 31 2e 32 29 0a 09 69 64 |.22/tic.|1.2)..id|
|00000140| 20 41 41 31 38 39 34 30 | 3b 20 54 68 75 2c 20 32 | AA18940|; Thu, 2|
|00000150| 31 20 4a 75 6e 20 39 30 | 20 31 36 3a 33 39 3a 34 |1 Jun 90| 16:39:4|
|00000160| 31 20 63 64 74 0a 46 72 | 6f 6d 3a 20 3c 6a 73 68 |1 cdt.Fr|om: <jsh|
|00000170| 40 75 73 65 6e 69 78 2e | 6f 72 67 3e 0a 4e 65 77 |@usenix.|org>.New|
|00000180| 73 67 72 6f 75 70 73 3a | 20 63 6f 6d 70 2e 73 74 |sgroups:| comp.st|
|00000190| 64 2e 75 6e 69 78 0a 53 | 75 62 6a 65 63 74 3a 20 |d.unix.S|ubject: |
|000001a0| 53 74 61 6e 64 61 72 64 | 73 20 55 70 64 61 74 65 |Standard|s Update|
|000001b0| 2c 20 49 45 45 45 20 31 | 30 30 33 2e 32 3a 20 53 |, IEEE 1|003.2: S|
|000001c0| 68 65 6c 6c 20 61 6e 64 | 20 74 6f 6f 6c 73 0a 4d |hell and| tools.M|
|000001d0| 65 73 73 61 67 65 2d 49 | 64 3a 20 3c 33 37 38 40 |essage-I|d: <378@|
|000001e0| 75 73 65 6e 69 78 2e 4f | 52 47 3e 0a 53 65 6e 64 |usenix.O|RG>.Send|
|000001f0| 65 72 3a 20 73 74 64 2d | 75 6e 69 78 40 75 73 65 |er: std-|unix@use|
|00000200| 6e 69 78 2e 4f 52 47 0a | 52 65 70 6c 79 2d 54 6f |nix.ORG.|Reply-To|
|00000210| 3a 20 73 74 64 2d 75 6e | 69 78 40 75 75 6e 65 74 |: std-un|ix@uunet|
|00000220| 2e 75 75 2e 6e 65 74 0a | 44 61 74 65 3a 20 32 31 |.uu.net.|Date: 21|
|00000230| 20 4a 75 6e 20 39 30 20 | 32 30 3a 31 37 3a 35 30 | Jun 90 |20:17:50|
|00000240| 20 47 4d 54 0a 41 70 70 | 61 72 65 6e 74 6c 79 2d | GMT.App|arently-|
|00000250| 54 6f 3a 20 73 74 64 2d | 75 6e 69 78 2d 61 72 63 |To: std-|unix-arc|
|00000260| 68 69 76 65 40 75 75 6e | 65 74 2e 75 75 2e 6e 65 |hive@uun|et.uu.ne|
|00000270| 74 0a 0a 46 72 6f 6d 3a | 20 20 3c 6a 73 68 40 75 |t..From:| <jsh@u|
|00000280| 73 65 6e 69 78 2e 6f 72 | 67 3e 0a 0a 20 20 20 20 |senix.or|g>.. |
|00000290| 20 20 20 20 20 20 20 41 | 6e 20 55 70 64 61 74 65 | A|n Update|
|000002a0| 20 6f 6e 20 55 4e 49 58 | 2a 2d 52 65 6c 61 74 65 | on UNIX|*-Relate|
|000002b0| 64 20 53 74 61 6e 64 61 | 72 64 73 20 41 63 74 69 |d Standa|rds Acti|
|000002c0| 76 69 74 69 65 73 0a 0a | 20 20 20 20 20 20 20 20 |vities..| |
|000002d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000002e0| 20 20 20 20 20 20 4a 75 | 6e 65 20 31 39 39 30 0a | Ju|ne 1990.|
|000002f0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00000300| 20 20 55 53 45 4e 49 58 | 20 53 74 61 6e 64 61 72 | USENIX| Standar|
|00000310| 64 73 20 57 61 74 63 68 | 64 6f 67 20 43 6f 6d 6d |ds Watch|dog Comm|
|00000320| 69 74 74 65 65 0a 0a 20 | 20 20 20 20 20 20 20 20 |ittee.. | |
|00000330| 20 20 20 20 20 20 20 20 | 20 20 4a 65 66 66 72 65 | | Jeffre|
|00000340| 79 20 53 2e 20 48 61 65 | 6d 65 72 2c 20 52 65 70 |y S. Hae|mer, Rep|
|00000350| 6f 72 74 20 45 64 69 74 | 6f 72 0a 0a 49 45 45 45 |ort Edit|or..IEEE|
|00000360| 20 31 30 30 33 2e 32 3a | 20 53 68 65 6c 6c 20 61 | 1003.2:| Shell a|
|00000370| 6e 64 20 74 6f 6f 6c 73 | 0a 0a 52 61 6e 64 61 6c |nd tools|..Randal|
|00000380| 6c 20 48 6f 77 61 72 64 | 20 3c 72 61 6e 64 40 6d |l Howard| <rand@m|
|00000390| 6b 73 2e 63 6f 6d 3e 20 | 72 65 70 6f 72 74 73 20 |ks.com> |reports |
|000003a0| 6f 6e 20 74 68 65 20 41 | 70 72 69 6c 20 32 33 2d |on the A|pril 23-|
|000003b0| 32 37 20 6d 65 65 74 69 | 6e 67 20 69 6e 0a 53 61 |27 meeti|ng in.Sa|
|000003c0| 6c 74 20 4c 61 6b 65 20 | 43 69 74 79 2c 20 55 54 |lt Lake |City, UT|
|000003d0| 3a 0a 0a 42 61 63 6b 67 | 72 6f 75 6e 64 20 6f 6e |:..Backg|round on|
|000003e0| 20 50 4f 53 49 58 2e 32 | 0a 0a 54 68 65 20 50 4f | POSIX.2|..The PO|
|000003f0| 53 49 58 2e 32 20 73 74 | 61 6e 64 61 72 64 20 64 |SIX.2 st|andard d|
|00000400| 65 61 6c 73 20 77 69 74 | 68 20 74 68 65 20 73 68 |eals wit|h the sh|
|00000410| 65 6c 6c 20 70 72 6f 67 | 72 61 6d 6d 69 6e 67 20 |ell prog|ramming |
|00000420| 6c 61 6e 67 75 61 67 65 | 20 61 6e 64 0a 75 74 69 |language| and.uti|
|00000430| 6c 69 74 69 65 73 2e 20 | 20 43 75 72 72 65 6e 74 |lities. | Current|
|00000440| 6c 79 2c 20 69 74 20 69 | 73 20 64 69 76 69 64 65 |ly, it i|s divide|
|00000450| 64 20 69 6e 74 6f 20 74 | 77 6f 20 70 69 65 63 65 |d into t|wo piece|
|00000460| 73 3a 0a 0a 20 20 20 2b | 20 50 4f 53 49 58 2e 32 |s:.. +| POSIX.2|
|00000470| 2c 20 74 68 65 20 62 61 | 73 65 20 73 74 61 6e 64 |, the ba|se stand|
|00000480| 61 72 64 2c 20 64 65 61 | 6c 73 20 77 69 74 68 20 |ard, dea|ls with |
|00000490| 74 68 65 20 62 61 73 69 | 63 20 73 68 65 6c 6c 0a |the basi|c shell.|
|000004a0| 20 20 20 20 20 70 72 6f | 67 72 61 6d 6d 69 6e 67 | pro|gramming|
|000004b0| 20 6c 61 6e 67 75 61 67 | 65 20 61 6e 64 20 61 20 | languag|e and a |
|000004c0| 73 65 74 20 6f 66 20 75 | 74 69 6c 69 74 69 65 73 |set of u|tilities|
|000004d0| 20 72 65 71 75 69 72 65 | 64 20 66 6f 72 0a 20 20 | require|d for. |
|000004e0| 20 20 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 70 | appli|cation p|
|000004f0| 6f 72 74 61 62 69 6c 69 | 74 79 2e 20 20 41 70 70 |ortabili|ty. App|
|00000500| 6c 69 63 61 74 69 6f 6e | 20 70 6f 72 74 61 62 69 |lication| portabi|
|00000510| 6c 69 74 79 20 65 73 73 | 65 6e 74 69 61 6c 6c 79 |lity ess|entially|
|00000520| 0a 20 20 20 20 20 6d 65 | 61 6e 73 20 70 6f 72 74 |. me|ans port|
|00000530| 61 62 69 6c 69 74 79 20 | 6f 66 20 73 68 65 6c 6c |ability |of shell|
|00000540| 20 73 63 72 69 70 74 73 | 20 61 6e 64 20 74 68 75 | scripts| and thu|
|00000550| 73 20 65 78 63 6c 75 64 | 65 73 20 6d 6f 73 74 0a |s exclud|es most.|
|00000560| 20 20 20 20 20 66 65 61 | 74 75 72 65 73 20 74 68 | fea|tures th|
|00000570| 61 74 20 6d 69 67 68 74 | 20 62 65 20 63 6f 6e 73 |at might| be cons|
|00000580| 69 64 65 72 65 64 20 69 | 6e 74 65 72 61 63 74 69 |idered i|nteracti|
|00000590| 76 65 2e 20 20 49 6e 20 | 61 6e 20 61 6e 61 6c 6f |ve. In |an analo|
|000005a0| 67 79 20 74 6f 0a 20 20 | 20 20 20 74 68 65 20 41 |gy to. | the A|
|000005b0| 4e 53 49 20 43 20 73 74 | 61 6e 64 61 72 64 2c 20 |NSI C st|andard, |
|000005c0| 74 68 65 20 50 4f 53 49 | 58 2e 32 20 73 68 65 6c |the POSI|X.2 shel|
|000005d0| 6c 20 63 6f 6d 6d 61 6e | 64 20 6c 61 6e 67 75 61 |l comman|d langua|
|000005e0| 67 65 20 69 73 20 74 68 | 65 0a 20 20 20 20 20 63 |ge is th|e. c|
|000005f0| 6f 75 6e 74 65 72 70 61 | 72 74 20 74 6f 20 74 68 |ounterpa|rt to th|
|00000600| 65 20 43 20 70 72 6f 67 | 72 61 6d 6d 69 6e 67 20 |e C prog|ramming |
|00000610| 6c 61 6e 67 75 61 67 65 | 2c 20 77 68 69 6c 65 20 |language|, while |
|00000620| 74 68 65 20 75 74 69 6c | 69 74 69 65 73 0a 20 20 |the util|ities. |
|00000630| 20 20 20 70 6c 61 79 2c | 20 72 6f 75 67 68 6c 79 | play,| roughly|
|00000640| 2c 20 74 68 65 20 72 6f | 6c 65 20 6f 66 20 74 68 |, the ro|le of th|
|00000650| 65 20 43 20 6c 69 62 72 | 61 72 79 2e 20 20 50 4f |e C libr|ary. PO|
|00000660| 53 49 58 2e 32 20 61 6c | 73 6f 0a 20 20 20 20 20 |SIX.2 al|so. |
|00000670| 73 74 61 6e 64 61 72 64 | 69 7a 65 73 20 63 6f 6d |standard|izes com|
|00000680| 6d 61 6e 64 2d 6c 69 6e | 65 20 61 6e 64 20 66 75 |mand-lin|e and fu|
|00000690| 6e 63 74 69 6f 6e 20 69 | 6e 74 65 72 66 61 63 65 |nction i|nterface|
|000006a0| 73 20 72 65 6c 61 74 65 | 64 20 74 6f 0a 20 20 20 |s relate|d to. |
|000006b0| 20 20 63 65 72 74 61 69 | 6e 20 50 4f 53 49 58 2e | certai|n POSIX.|
|000006c0| 32 20 75 74 69 6c 69 74 | 69 65 73 20 28 65 2e 67 |2 utilit|ies (e.g|
|000006d0| 2e 2c 20 70 6f 70 65 6e | 2c 20 72 65 67 75 6c 61 |., popen|, regula|
|000006e0| 72 20 65 78 70 72 65 73 | 73 69 6f 6e 73 2c 0a 20 |r expres|sions,. |
|000006f0| 20 20 20 20 65 74 63 2e | 29 20 54 68 69 73 20 64 | etc.|) This d|
|00000700| 6f 63 75 6d 65 6e 74 20 | 69 73 20 61 6c 73 6f 20 |ocument |is also |
|00000710| 6b 6e 6f 77 6e 20 61 73 | 20 60 60 44 6f 74 20 32 |known as| ``Dot 2|
|00000720| 20 43 6c 61 73 73 69 63 | 2e 27 27 0a 0a 20 20 20 | Classic|.''.. |
|00000730| 2b 20 50 4f 53 49 58 2e | 32 61 2c 20 74 68 65 20 |+ POSIX.|2a, the |
|00000740| 55 73 65 72 20 50 6f 72 | 74 61 62 69 6c 69 74 79 |User Por|tability|
|00000750| 20 45 78 74 65 6e 73 69 | 6f 6e 20 6f 72 20 55 50 | Extensi|on or UP|
|00000760| 45 2c 20 69 73 20 61 20 | 73 75 70 70 6c 65 6d 65 |E, is a |suppleme|
|00000770| 6e 74 0a 20 20 20 20 20 | 74 6f 20 74 68 65 20 62 |nt. |to the b|
|00000780| 61 73 65 20 50 4f 53 49 | 58 2e 32 20 73 74 61 6e |ase POSI|X.2 stan|
|00000790| 64 61 72 64 3b 20 69 74 | 20 77 69 6c 6c 20 65 76 |dard; it| will ev|
|000007a0| 65 6e 74 75 61 6c 6c 79 | 20 62 65 20 61 6e 20 6f |entually| be an o|
|000007b0| 70 74 69 6f 6e 61 6c 0a | 20 20 20 20 20 63 68 61 |ptional.| cha|
|000007c0| 70 74 65 72 20 6f 66 20 | 61 20 66 75 74 75 72 65 |pter of |a future|
|000007d0| 20 64 72 61 66 74 20 6f | 66 20 74 68 65 20 62 61 | draft o|f the ba|
|000007e0| 73 65 20 64 6f 63 75 6d | 65 6e 74 2e 20 20 54 68 |se docum|ent. Th|
|000007f0| 65 20 55 50 45 0a 20 20 | 20 20 20 73 74 61 6e 64 |e UPE. | stand|
|00000800| 61 72 64 69 7a 65 73 20 | 63 6f 6d 6d 61 6e 64 73 |ardizes |commands|
|00000810| 2c 20 73 75 63 68 20 61 | 73 20 73 63 72 65 65 6e |, such a|s screen|
|00000820| 20 65 64 69 74 6f 72 73 | 2c 20 74 68 61 74 20 6d | editors|, that m|
|00000830| 69 67 68 74 20 6e 6f 74 | 0a 20 20 20 20 20 61 70 |ight not|. ap|
|00000840| 70 65 61 72 20 69 6e 20 | 73 68 65 6c 6c 20 73 63 |pear in |shell sc|
|00000850| 72 69 70 74 73 20 62 75 | 74 20 61 72 65 20 69 6d |ripts bu|t are im|
|00000860| 70 6f 72 74 61 6e 74 20 | 65 6e 6f 75 67 68 20 74 |portant |enough t|
|00000870| 68 61 74 20 75 73 65 72 | 73 20 6d 75 73 74 0a 20 |hat user|s must. |
|00000880| 20 20 20 20 6c 65 61 72 | 6e 20 74 68 65 6d 20 6f | lear|n them o|
|00000890| 6e 20 61 6e 79 20 72 65 | 61 6c 20 73 79 73 74 65 |n any re|al syste|
|000008a0| 6d 2e 20 20 49 74 20 69 | 73 20 65 73 73 65 6e 74 |m. It i|s essent|
|000008b0| 69 61 6c 6c 79 20 61 6e | 20 69 6e 74 65 72 61 63 |ially an| interac|
|000008c0| 74 69 76 65 0a 20 20 20 | 20 20 73 74 61 6e 64 61 |tive. | standa|
|000008d0| 72 64 20 74 68 61 74 20 | 61 74 74 65 6d 70 74 73 |rd that |attempts|
|000008e0| 20 74 6f 20 72 65 64 75 | 63 65 20 72 65 74 72 61 | to redu|ce retra|
|000008f0| 69 6e 69 6e 67 20 63 6f | 73 74 73 20 69 6e 63 75 |ining co|sts incu|
|00000900| 72 72 65 64 20 62 79 0a | 20 20 20 20 20 73 79 73 |rred by.| sys|
|00000910| 74 65 6d 2d 74 6f 2d 73 | 79 73 74 65 6d 20 76 61 |tem-to-s|ystem va|
|00000920| 72 69 61 74 69 6f 6e 2e | 0a 0a 20 20 20 20 20 53 |riation.|.. S|
|00000930| 6f 6d 65 20 75 74 69 6c | 69 74 69 65 73 2c 20 68 |ome util|ities, h|
|00000940| 61 76 65 20 69 6e 74 65 | 72 61 63 74 69 76 65 20 |ave inte|ractive |
|00000950| 61 73 20 77 65 6c 6c 20 | 61 73 20 6e 6f 6e 2d 69 |as well |as non-i|
|00000960| 6e 74 65 72 61 63 74 69 | 76 65 0a 20 20 20 20 20 |nteracti|ve. |
|00000970| 66 65 61 74 75 72 65 73 | 2e 20 20 49 6e 20 73 75 |features|. In su|
|00000980| 63 68 20 63 61 73 65 73 | 2c 20 74 68 65 20 55 50 |ch cases|, the UP|
|00000990| 45 20 64 65 66 69 6e 65 | 73 20 65 78 74 65 6e 73 |E define|s extens|
|000009a0| 69 6f 6e 73 20 66 72 6f | 6d 20 74 68 65 0a 20 20 |ions fro|m the. |
|000009b0| 20 20 20 62 61 73 65 20 | 50 4f 53 49 58 2e 32 20 | base |POSIX.2 |
|000009c0| 75 74 69 6c 69 74 79 2e | 20 20 41 6e 20 65 78 61 |utility.| An exa|
|000009d0| 6d 70 6c 65 20 69 73 20 | 74 68 65 20 73 68 65 6c |mple is |the shel|
|000009e0| 6c 2c 20 66 6f 72 20 77 | 68 69 63 68 20 74 68 65 |l, for w|hich the|
|000009f0| 20 55 50 45 0a 20 20 20 | 20 20 64 65 66 69 6e 65 | UPE. | define|
|00000a00| 73 20 6a 6f 62 20 63 6f | 6e 74 72 6f 6c 2c 20 68 |s job co|ntrol, h|
|00000a10| 69 73 74 6f 72 79 2c 20 | 61 6e 64 20 61 6c 69 61 |istory, |and alia|
|00000a20| 73 65 73 2e 20 20 46 65 | 61 74 75 72 65 73 20 75 |ses. Fe|atures u|
|00000a30| 73 65 64 20 62 6f 74 68 | 0a 20 20 20 20 20 69 6e |sed both|. in|
|00000a40| 74 65 72 61 63 74 69 76 | 65 6c 79 20 61 6e 64 20 |teractiv|ely and |
|00000a50| 69 6e 20 73 63 72 69 70 | 74 73 20 74 65 6e 64 20 |in scrip|ts tend |
|00000a60| 74 6f 20 62 65 20 64 65 | 66 69 6e 65 64 20 69 6e |to be de|fined in|
|00000a70| 20 74 68 65 20 62 61 73 | 65 0a 20 20 20 20 20 73 | the bas|e. s|
|00000a80| 74 61 6e 64 61 72 64 2e | 0a 0a 5f 5f 5f 5f 5f 5f |tandard.|..______|
|00000a90| 5f 5f 5f 5f 0a 0a 20 20 | 2a 20 55 4e 49 58 20 69 |____.. |* UNIX i|
|00000aa0| 73 20 61 20 72 65 67 69 | 73 74 65 72 65 64 20 74 |s a regi|stered t|
|00000ab0| 72 61 64 65 6d 61 72 6b | 20 6f 66 20 41 54 26 54 |rademark| of AT&T|
|00000ac0| 20 69 6e 20 74 68 65 20 | 55 2e 53 2e 20 61 6e 64 | in the |U.S. and|
|00000ad0| 20 6f 74 68 65 72 0a 20 | 20 20 20 63 6f 75 6e 74 | other. | count|
|00000ae0| 72 69 65 73 2e 0a 0a 4a | 75 6e 65 20 31 39 39 30 |ries...J|une 1990|
|00000af0| 20 53 74 61 6e 64 61 72 | 64 73 20 55 70 64 61 74 | Standar|ds Updat|
|00000b00| 65 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |e | |
|00000b10| 20 49 45 45 45 20 31 30 | 30 33 2e 32 3a 20 53 68 | IEEE 10|03.2: Sh|
|00000b20| 65 6c 6c 20 61 6e 64 20 | 74 6f 6f 6c 73 0a 0a 0c |ell and |tools...|
|00000b30| 0a 09 09 09 09 2d 20 32 | 20 2d 0a 0a 54 6f 67 65 |.....- 2| -..Toge|
|00000b40| 74 68 65 72 20 44 6f 74 | 20 32 20 43 6c 61 73 73 |ther Dot| 2 Class|
|00000b50| 69 63 20 61 6e 64 20 74 | 68 65 20 55 50 45 20 77 |ic and t|he UPE w|
|00000b60| 69 6c 6c 20 6d 61 6b 65 | 20 75 70 20 74 68 65 20 |ill make| up the |
|00000b70| 49 6e 74 65 72 6e 61 74 | 69 6f 6e 61 6c 0a 53 74 |Internat|ional.St|
|00000b80| 61 6e 64 61 72 64 73 20 | 4f 72 67 61 6e 69 7a 61 |andards |Organiza|
|00000b90| 74 69 6f 6e 27 73 20 49 | 53 20 39 39 34 35 2f 32 |tion's I|S 9945/2|
|00000ba0| 20 2d 20 74 68 65 20 73 | 65 63 6f 6e 64 20 76 6f | - the s|econd vo|
|00000bb0| 6c 75 6d 65 20 6f 66 20 | 74 68 65 20 70 72 6f 70 |lume of |the prop|
|00000bc0| 6f 73 65 64 0a 49 53 4f | 20 66 6f 75 72 2d 76 6f |osed.ISO| four-vo|
|00000bd0| 6c 75 6d 65 20 73 74 61 | 6e 64 61 72 64 20 72 65 |lume sta|ndard re|
|00000be0| 6c 61 74 65 64 20 74 6f | 20 50 4f 53 49 58 2e 0a |lated to| POSIX..|
|00000bf0| 0a 49 6e 20 61 64 64 69 | 74 69 6f 6e 20 74 6f 20 |.In addi|tion to |
|00000c00| 70 72 6f 76 69 64 69 6e | 67 20 63 75 72 72 65 6e |providin|g curren|
|00000c10| 74 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 61 62 |t inform|ation ab|
|00000c20| 6f 75 74 20 74 68 65 20 | 61 63 74 69 76 69 74 69 |out the |activiti|
|00000c30| 65 73 20 6f 66 0a 74 68 | 65 20 57 6f 72 6b 69 6e |es of.th|e Workin|
|00000c40| 67 20 61 6e 64 20 42 61 | 6c 6c 6f 74 69 6e 67 20 |g and Ba|lloting |
|00000c50| 47 72 6f 75 70 73 20 66 | 6f 72 20 50 4f 53 49 58 |Groups f|or POSIX|
|00000c60| 2e 32 2c 20 61 20 73 70 | 65 63 69 61 6c 20 74 6f |.2, a sp|ecial to|
|00000c70| 70 69 63 20 6f 66 20 66 | 6f 63 75 73 0a 77 69 6c |pic of f|ocus.wil|
|00000c80| 6c 20 62 65 20 63 68 6f | 73 65 6e 20 66 6f 72 20 |l be cho|sen for |
|00000c90| 65 61 63 68 20 72 65 70 | 6f 72 74 2e 20 20 54 68 |each rep|ort. Th|
|00000ca0| 65 72 65 66 6f 72 65 2c | 20 74 68 65 20 72 65 61 |erefore,| the rea|
|00000cb0| 64 65 72 20 69 73 20 72 | 65 66 65 72 72 65 64 20 |der is r|eferred |
|00000cc0| 74 6f 0a 65 61 72 6c 69 | 65 72 20 72 65 70 6f 72 |to.earli|er repor|
|00000cd0| 74 73 20 66 6f 72 20 69 | 6e 66 6f 72 6d 61 74 69 |ts for i|nformati|
|00000ce0| 6f 6e 20 6f 6e 20 73 75 | 63 68 20 74 6f 70 69 63 |on on su|ch topic|
|00000cf0| 73 20 61 73 20 74 68 65 | 20 68 69 73 74 6f 72 79 |s as the| history|
|00000d00| 20 6f 66 20 74 68 65 0a | 53 68 65 6c 6c 20 57 61 | of the.|Shell Wa|
|00000d10| 72 73 20 61 6e 64 20 74 | 68 65 20 63 6f 6e 74 72 |rs and t|he contr|
|00000d20| 6f 76 65 72 73 69 61 6c | 20 73 63 6f 70 65 20 6f |oversial| scope o|
|00000d30| 66 20 74 68 65 20 55 50 | 45 2e 20 20 54 68 65 20 |f the UP|E. The |
|00000d40| 6e 65 78 74 20 73 65 63 | 74 69 6f 6e 0a 74 61 6c |next sec|tion.tal|
|00000d50| 6b 73 20 61 62 6f 75 74 | 20 74 68 65 20 66 75 6e |ks about| the fun|
|00000d60| 63 74 69 6f 6e 73 2c 20 | 72 61 74 68 65 72 20 74 |ctions, |rather t|
|00000d70| 68 61 6e 20 75 74 69 6c | 69 74 69 65 73 2c 20 74 |han util|ities, t|
|00000d80| 68 61 74 20 61 72 65 20 | 66 6f 75 6e 64 20 77 69 |hat are |found wi|
|00000d90| 74 68 0a 50 4f 53 49 58 | 2e 32 2e 0a 0a 54 68 65 |th.POSIX|.2...The|
|00000da0| 20 50 4f 53 49 58 2e 32 | 20 41 50 49 20 46 75 6e | POSIX.2| API Fun|
|00000db0| 63 74 69 6f 6e 73 0a 0a | 50 65 72 68 61 70 73 20 |ctions..|Perhaps |
|00000dc0| 69 74 20 77 69 6c 6c 20 | 63 6f 6d 65 20 61 73 20 |it will |come as |
|00000dd0| 61 20 73 75 72 70 72 69 | 73 65 20 74 6f 20 6d 61 |a surpri|se to ma|
|00000de0| 6e 79 20 72 65 61 64 65 | 72 73 20 74 68 61 74 20 |ny reade|rs that |
|00000df0| 74 68 65 20 50 4f 53 49 | 58 0a 53 68 65 6c 6c 20 |the POSI|X.Shell |
|00000e00| 61 6e 64 20 55 74 69 6c | 69 74 69 65 73 20 73 74 |and Util|ities st|
|00000e10| 61 6e 64 61 72 64 20 61 | 6c 73 6f 20 63 6f 6e 74 |andard a|lso cont|
|00000e20| 61 69 6e 73 20 73 70 65 | 63 69 66 69 63 61 74 69 |ains spe|cificati|
|00000e30| 6f 6e 73 20 66 6f 72 20 | 61 62 6f 75 74 0a 66 6f |ons for |about.fo|
|00000e40| 75 72 74 65 65 6e 20 6e | 65 77 20 6f 72 20 65 78 |urteen n|ew or ex|
|00000e50| 74 65 6e 64 65 64 20 43 | 20 66 75 6e 63 74 69 6f |tended C| functio|
|00000e60| 6e 20 62 69 6e 64 69 6e | 67 73 20 2d 2d 20 69 6e |n bindin|gs -- in|
|00000e70| 20 65 66 66 65 63 74 2c | 20 69 74 73 20 6f 77 6e | effect,| its own|
|00000e80| 20 41 50 49 0a 65 78 74 | 65 6e 64 69 6e 67 20 74 | API.ext|ending t|
|00000e90| 68 65 20 50 4f 53 49 58 | 2e 31 20 62 69 6e 64 69 |he POSIX|.1 bindi|
|00000ea0| 6e 67 73 20 2d 2d 20 61 | 73 20 66 6f 6c 6c 6f 77 |ngs -- a|s follow|
|00000eb0| 73 3a 0a 0a 20 20 63 6f | 6e 66 73 74 72 28 29 2c |s:.. co|nfstr(),|
|00000ec0| 20 73 79 73 63 6f 6e 66 | 28 29 20 54 68 65 20 66 | sysconf|() The f|
|00000ed0| 69 72 73 74 20 66 75 6e | 63 74 69 6f 6e 20 77 61 |irst fun|ction wa|
|00000ee0| 73 20 63 72 65 61 74 65 | 64 20 74 6f 20 70 72 6f |s create|d to pro|
|00000ef0| 76 69 64 65 0a 20 20 20 | 20 20 20 20 20 20 20 20 |vide. | |
|00000f00| 20 73 74 72 69 6e 67 2d | 76 61 6c 75 65 64 2c 20 | string-|valued, |
|00000f10| 63 6f 6e 66 69 67 75 72 | 61 74 69 6f 6e 2d 73 70 |configur|ation-sp|
|00000f20| 65 63 69 66 69 63 20 76 | 61 6c 75 65 73 20 73 75 |ecific v|alues su|
|00000f30| 63 68 20 61 73 20 74 68 | 65 0a 20 20 20 20 20 20 |ch as th|e. |
|00000f40| 20 20 20 20 20 20 64 65 | 66 61 75 6c 74 20 73 65 | de|fault se|
|00000f50| 74 74 69 6e 67 20 6f 66 | 20 74 68 65 20 50 41 54 |tting of| the PAT|
|00000f60| 48 20 65 6e 76 69 72 6f | 6e 6d 65 6e 74 20 76 61 |H enviro|nment va|
|00000f70| 72 69 61 62 6c 65 2e 20 | 20 54 68 65 0a 20 20 20 |riable. | The. |
|00000f80| 20 20 20 20 20 20 20 20 | 20 73 65 63 6f 6e 64 20 | | second |
|00000f90| 65 78 74 65 6e 64 73 20 | 74 68 65 20 50 4f 53 49 |extends |the POSI|
|00000fa0| 58 2e 31 20 66 75 6e 63 | 74 69 6f 6e 20 6f 66 20 |X.1 func|tion of |
|00000fb0| 74 68 65 20 73 61 6d 65 | 20 6e 61 6d 65 20 77 69 |the same| name wi|
|00000fc0| 74 68 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 6e |th. | n|
|00000fd0| 75 6d 65 72 69 63 2d 76 | 61 6c 75 65 64 20 63 6f |umeric-v|alued co|
|00000fe0| 6e 66 69 67 75 72 61 74 | 69 6f 6e 20 69 6e 66 6f |nfigurat|ion info|
|00000ff0| 72 6d 61 74 69 6f 6e 20 | 73 75 63 68 20 61 73 20 |rmation |such as |
|00001000| 74 68 65 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |the. | |
|00001010| 6c 61 72 67 65 73 74 20 | 73 63 61 6c 65 20 76 61 |largest |scale va|
|00001020| 6c 75 65 20 69 6e 20 74 | 68 65 20 62 63 20 75 74 |lue in t|he bc ut|
|00001030| 69 6c 69 74 79 20 61 6e | 64 20 74 68 65 0a 20 20 |ility an|d the. |
|00001040| 20 20 20 20 20 20 20 20 | 20 20 69 6d 70 6c 65 6d | | implem|
|00001050| 65 6e 74 61 74 69 6f 6e | 27 73 20 6c 69 6e 65 20 |entation|'s line |
|00001060| 6c 65 6e 67 74 68 20 72 | 65 73 74 72 69 63 74 69 |length r|estricti|
|00001070| 6f 6e 2e 0a 0a 20 20 66 | 6e 6d 61 74 63 68 28 29 |on... f|nmatch()|
|00001080| 20 54 68 69 73 20 66 75 | 6e 63 74 69 6f 6e 61 6c | This fu|nctional|
|00001090| 20 69 6e 74 65 72 66 61 | 63 65 20 69 6d 70 6c 65 | interfa|ce imple|
|000010a0| 6d 65 6e 74 73 20 74 68 | 65 20 66 6f 72 6d 20 6f |ments th|e form o|
|000010b0| 66 20 70 61 74 74 65 72 | 6e 0a 20 20 20 20 20 20 |f patter|n. |
|000010c0| 20 20 20 20 20 20 6d 61 | 74 63 68 69 6e 67 20 75 | ma|tching u|
|000010d0| 73 65 64 20 62 79 20 66 | 69 6c 65 2d 6e 61 6d 65 |sed by f|ile-name|
|000010e0| 20 67 65 6e 65 72 61 74 | 69 6f 6e 20 28 67 6c 6f | generat|ion (glo|
|000010f0| 62 29 20 69 6e 20 74 68 | 65 20 73 68 65 6c 6c 2c |b) in th|e shell,|
|00001100| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 63 61 73 |. | cas|
|00001110| 65 20 73 74 61 74 65 6d | 65 6e 74 73 20 69 6e 20 |e statem|ents in |
|00001120| 74 68 65 20 73 68 65 6c | 6c 2c 20 61 6e 64 20 74 |the shel|l, and t|
|00001130| 68 65 20 2d 6e 61 6d 65 | 20 6f 70 74 69 6f 6e 20 |he -name| option |
|00001140| 6f 66 20 74 68 65 0a 20 | 20 20 20 20 20 20 20 20 |of the. | |
|00001150| 20 20 20 66 69 6e 64 20 | 75 74 69 6c 69 74 79 2e | find |utility.|
|00001160| 0a 0a 20 20 67 65 74 6f | 70 74 28 29 20 20 54 68 |.. geto|pt() Th|
|00001170| 69 73 20 66 75 6e 63 74 | 69 6f 6e 61 6c 20 69 6e |is funct|ional in|
|00001180| 74 65 72 66 61 63 65 20 | 70 72 6f 76 69 64 65 73 |terface |provides|
|00001190| 20 61 20 73 74 61 6e 64 | 61 72 64 20 75 74 69 6c | a stand|ard util|
|000011a0| 69 74 79 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |ity. | |
|000011b0| 61 72 67 75 6d 65 6e 74 | 20 70 61 72 73 65 72 20 |argument| parser |
|000011c0| 74 68 61 74 20 65 6e 66 | 6f 72 63 65 73 20 74 68 |that enf|orces th|
|000011d0| 65 20 60 60 73 74 61 6e | 64 61 72 64 20 75 74 69 |e ``stan|dard uti|
|000011e0| 6c 69 74 79 0a 20 20 20 | 20 20 20 20 20 20 20 20 |lity. | |
|000011f0| 20 73 79 6e 74 61 78 27 | 27 20 67 75 69 64 65 6c | syntax'|' guidel|
|00001200| 69 6e 65 73 20 61 6e 64 | 20 6d 69 67 68 74 20 62 |ines and| might b|
|00001210| 65 20 75 73 65 64 20 74 | 6f 20 69 6d 70 6c 65 6d |e used t|o implem|
|00001220| 65 6e 74 20 74 68 65 0a | 20 20 20 20 20 20 20 20 |ent the.| |
|00001230| 20 20 20 20 67 65 74 6f | 70 74 73 20 75 74 69 6c | geto|pts util|
|00001240| 69 74 79 20 66 72 6f 6d | 20 50 4f 53 49 58 2e 32 |ity from| POSIX.2|
|00001250| 2e 0a 0a 20 20 67 6c 6f | 62 28 29 2c 20 67 6c 6f |... glo|b(), glo|
|00001260| 62 66 72 65 65 28 29 20 | 54 68 69 73 20 73 65 74 |bfree() |This set|
|00001270| 20 6f 66 20 66 75 6e 63 | 74 69 6f 6e 73 20 64 6f | of func|tions do|
|00001280| 65 73 20 73 68 65 6c 6c | 2d 73 74 79 6c 65 20 66 |es shell|-style f|
|00001290| 69 6c 65 2d 6e 61 6d 65 | 0a 20 20 20 20 20 20 20 |ile-name|. |
|000012a0| 20 20 20 20 20 67 65 6e | 65 72 61 74 69 6f 6e 20 | gen|eration |
|000012b0| 61 6e 64 20 70 72 65 73 | 75 6d 61 62 6c 79 20 63 |and pres|umably c|
|000012c0| 61 6c 6c 73 20 74 68 65 | 20 66 6e 6d 61 74 63 68 |alls the| fnmatch|
|000012d0| 28 29 20 66 75 6e 63 74 | 69 6f 6e 2e 0a 0a 20 20 |() funct|ion... |
|000012e0| 70 6f 70 65 6e 28 29 2c | 20 70 63 6c 6f 73 65 28 |popen(),| pclose(|
|000012f0| 29 20 54 68 69 73 20 70 | 61 69 72 20 6f 66 20 66 |) This p|air of f|
|00001300| 75 6e 63 74 69 6f 6e 73 | 2c 20 77 68 69 63 68 20 |unctions|, which |
|00001310| 69 73 20 61 20 70 61 72 | 74 20 6f 66 20 74 68 65 |is a par|t of the|
|00001320| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 73 74 61 |. | sta|
|00001330| 6e 64 61 72 64 20 49 2f | 4f 20 70 61 63 6b 61 67 |ndard I/|O packag|
|00001340| 65 20 6f 6e 20 63 6f 6e | 76 65 6e 74 69 6f 6e 61 |e on con|ventiona|
|00001350| 6c 20 55 4e 49 58 20 73 | 79 73 74 65 6d 73 2c 0a |l UNIX s|ystems,.|
|00001360| 20 20 20 20 20 20 20 20 | 20 20 20 20 70 72 6f 76 | | prov|
|00001370| 69 64 65 73 20 74 68 65 | 20 61 62 69 6c 69 74 79 |ides the| ability|
|00001380| 20 74 6f 20 63 6f 6d 6d | 75 6e 69 63 61 74 65 20 | to comm|unicate |
|00001390| 74 68 72 6f 75 67 68 20 | 70 69 70 65 73 20 74 6f |through |pipes to|
|000013a0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 61 6e 6f |. | ano|
|000013b0| 74 68 65 72 20 70 72 6f | 63 65 73 73 20 62 79 20 |ther pro|cess by |
|000013c0| 65 78 65 63 75 74 69 6e | 67 20 61 20 73 74 72 69 |executin|g a stri|
|000013d0| 6e 67 20 69 6e 20 74 68 | 65 20 50 4f 53 49 58 2e |ng in th|e POSIX.|
|000013e0| 32 20 73 68 65 6c 6c 0a | 20 20 20 20 20 20 20 20 |2 shell.| |
|000013f0| 20 20 20 20 6c 61 6e 67 | 75 61 67 65 2e 0a 0a 20 | lang|uage... |
|00001400| 20 72 65 67 65 78 65 63 | 28 29 2c 20 72 65 67 63 | regexec|(), regc|
|00001410| 6f 6d 70 28 29 20 54 68 | 69 73 20 73 65 74 20 6f |omp() Th|is set o|
|00001420| 66 20 72 6f 75 74 69 6e | 65 73 20 70 72 6f 76 69 |f routin|es provi|
|00001430| 64 65 73 20 73 75 70 70 | 6f 72 74 20 66 6f 72 20 |des supp|ort for |
|00001440| 62 6f 74 68 0a 20 20 20 | 20 20 20 20 20 20 20 20 |both. | |
|00001450| 20 74 68 65 20 42 61 73 | 69 63 20 61 6e 64 20 45 | the Bas|ic and E|
|00001460| 78 74 65 6e 64 65 64 20 | 52 65 67 75 6c 61 72 20 |xtended |Regular |
|00001470| 45 78 70 72 65 73 73 69 | 6f 6e 73 20 64 65 66 69 |Expressi|ons defi|
|00001480| 6e 65 64 20 69 6e 0a 20 | 20 20 20 20 20 20 20 20 |ned in. | |
|00001490| 20 20 20 50 4f 53 49 58 | 2e 32 2c 20 69 6e 63 6c | POSIX|.2, incl|
|000014a0| 75 64 69 6e 67 20 66 75 | 6c 6c 20 69 6e 74 65 72 |uding fu|ll inter|
|000014b0| 6e 61 74 69 6f 6e 61 6c | 69 7a 61 74 69 6f 6e 20 |national|ization |
|000014c0| 73 75 70 70 6f 72 74 2e | 0a 0a 4a 75 6e 65 20 31 |support.|..June 1|
|000014d0| 39 39 30 20 53 74 61 6e | 64 61 72 64 73 20 55 70 |990 Stan|dards Up|
|000014e0| 64 61 74 65 20 20 20 20 | 20 20 20 20 20 20 20 20 |date | |
|000014f0| 20 20 20 20 49 45 45 45 | 20 31 30 30 33 2e 32 3a | IEEE| 1003.2:|
|00001500| 20 53 68 65 6c 6c 20 61 | 6e 64 20 74 6f 6f 6c 73 | Shell a|nd tools|
|00001510| 0a 0a 0c 0a 09 09 09 09 | 2d 20 33 20 2d 0a 0a 20 |........|- 3 -.. |
|00001520| 20 77 6f 72 64 65 78 70 | 28 29 2c 20 77 6f 72 64 | wordexp|(), word|
|00001530| 66 72 65 65 28 29 20 54 | 68 69 73 20 73 65 74 20 |free() T|his set |
|00001540| 6f 66 20 72 6f 75 74 69 | 6e 65 73 20 70 72 6f 76 |of routi|nes prov|
|00001550| 69 64 65 73 20 61 20 6d | 65 63 68 61 6e 69 73 6d |ides a m|echanism|
|00001560| 20 66 6f 72 0a 20 20 20 | 20 20 20 20 20 20 20 20 | for. | |
|00001570| 20 61 6e 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 | an appl|ication |
|00001580| 74 6f 20 75 73 65 20 77 | 6f 72 64 20 65 78 70 61 |to use w|ord expa|
|00001590| 6e 73 69 6f 6e 20 28 70 | 61 72 61 6d 65 74 65 72 |nsion (p|arameter|
|000015a0| 20 65 78 70 61 6e 73 69 | 6f 6e 29 0a 20 20 20 20 | expansi|on). |
|000015b0| 20 20 20 20 20 20 20 20 | 74 68 61 74 20 69 73 20 | |that is |
|000015c0| 63 6f 6d 70 61 74 69 62 | 6c 65 20 77 69 74 68 20 |compatib|le with |
|000015d0| 74 68 65 20 50 4f 53 49 | 58 2e 32 20 73 68 65 6c |the POSI|X.2 shel|
|000015e0| 6c 20 6c 61 6e 67 75 61 | 67 65 2e 0a 20 20 20 20 |l langua|ge.. |
|000015f0| 20 20 20 20 20 20 20 20 | 41 6c 74 68 6f 75 67 68 | |Although|
|00001600| 20 6d 6f 73 74 20 69 6d | 70 6c 65 6d 65 6e 74 61 | most im|plementa|
|00001610| 74 69 6f 6e 73 20 6f 66 | 20 74 68 69 73 20 72 6f |tions of| this ro|
|00001620| 75 74 69 6e 65 20 77 69 | 6c 6c 0a 20 20 20 20 20 |utine wi|ll. |
|00001630| 20 20 20 20 20 20 20 6e | 6f 72 6d 61 6c 6c 79 20 | n|ormally |
|00001640| 63 61 6c 6c 20 74 68 65 | 20 73 68 65 6c 6c 2c 20 |call the| shell, |
|00001650| 69 74 20 69 73 20 28 61 | 74 20 6c 65 61 73 74 20 |it is (a|t least |
|00001660| 63 6f 6e 63 65 70 74 75 | 61 6c 6c 79 29 0a 20 20 |conceptu|ally). |
|00001670| 20 20 20 20 20 20 20 20 | 20 20 70 6f 73 73 69 62 | | possib|
|00001680| 6c 65 20 74 68 61 74 20 | 74 68 65 20 73 68 65 6c |le that |the shel|
|00001690| 6c 20 62 65 20 69 6d 70 | 6c 65 6d 65 6e 74 65 64 |l be imp|lemented|
|000016a0| 20 74 6f 20 63 61 6c 6c | 20 74 68 65 73 65 0a 20 | to call| these. |
|000016b0| 20 20 20 20 20 20 20 20 | 20 20 20 72 6f 75 74 69 | | routi|
|000016c0| 6e 65 73 20 66 6f 72 20 | 77 6f 72 64 20 65 78 70 |nes for |word exp|
|000016d0| 61 6e 73 69 6f 6e 2e 0a | 0a 20 20 73 79 73 74 65 |ansion..|. syste|
|000016e0| 6d 28 29 20 20 54 68 69 | 73 20 60 60 63 6c 61 73 |m() Thi|s ``clas|
|000016f0| 73 69 63 61 6c 27 27 20 | 66 75 6e 63 74 69 6f 6e |sical'' |function|
|00001700| 20 65 78 65 63 75 74 65 | 73 20 61 20 63 6f 6d 6d | execute|s a comm|
|00001710| 61 6e 64 20 77 72 69 74 | 74 65 6e 20 69 6e 0a 20 |and writ|ten in. |
|00001720| 20 20 20 20 20 20 20 20 | 20 20 20 73 68 65 6c 6c | | shell|
|00001730| 20 6c 61 6e 67 75 61 67 | 65 2e 0a 0a 41 6c 6c 20 | languag|e...All |
|00001740| 6f 66 20 74 68 65 73 65 | 20 66 75 6e 63 74 69 6f |of these| functio|
|00001750| 6e 73 20 66 6f 72 6d 20 | 70 61 72 74 20 6f 66 20 |ns form |part of |
|00001760| 61 6e 20 6f 70 74 69 6f | 6e 61 6c 20 43 20 62 69 |an optio|nal C bi|
|00001770| 6e 64 69 6e 67 20 74 6f | 20 50 4f 53 49 58 2e 32 |nding to| POSIX.2|
|00001780| 0a 61 6e 64 20 69 74 20 | 69 73 20 65 78 70 65 63 |.and it |is expec|
|00001790| 74 65 64 20 74 68 61 74 | 20 74 68 65 20 73 6f 6f |ted that| the soo|
|000017a0| 6e 2d 74 6f 2d 62 65 2d | 72 65 6c 65 61 73 65 64 |n-to-be-|released|
|000017b0| 2c 20 64 72 61 66 74 20 | 76 65 72 73 69 6f 6e 20 |, draft |version |
|000017c0| 6f 66 20 74 68 65 0a 4e | 49 53 54 20 46 49 50 53 |of the.N|IST FIPS|
|000017d0| 20 77 69 6c 6c 20 6d 61 | 6b 65 20 74 68 69 73 20 | will ma|ke this |
|000017e0| 60 60 6f 70 74 69 6f 6e | 61 6c 27 27 20 66 75 6e |``option|al'' fun|
|000017f0| 63 74 69 6f 6e 61 6c 20 | 69 6e 74 65 72 66 61 63 |ctional |interfac|
|00001800| 65 20 6d 61 6e 64 61 74 | 6f 72 79 0a 66 6f 72 20 |e mandat|ory.for |
|00001810| 55 53 20 67 6f 76 65 72 | 6e 6d 65 6e 74 20 70 72 |US gover|nment pr|
|00001820| 6f 63 75 72 65 6d 65 6e | 74 73 2e 20 20 4f 74 68 |ocuremen|ts. Oth|
|00001830| 65 72 20 6c 61 6e 67 75 | 61 67 65 2d 62 69 6e 64 |er langu|age-bind|
|00001840| 69 6e 67 20 77 6f 72 6b | 69 6e 67 0a 67 72 6f 75 |ing work|ing.grou|
|00001850| 70 73 2c 20 73 75 63 68 | 20 61 73 20 74 68 6f 73 |ps, such| as thos|
|00001860| 65 20 65 78 70 6c 6f 72 | 69 6e 67 20 41 64 61 20 |e explor|ing Ada |
|00001870| 61 6e 64 20 46 4f 52 54 | 52 41 4e 2c 20 61 72 65 |and FORT|RAN, are|
|00001880| 20 70 72 65 73 75 6d 61 | 62 6c 79 0a 65 6e 63 6f | presuma|bly.enco|
|00001890| 75 72 61 67 65 64 20 74 | 6f 20 61 64 64 20 74 68 |uraged t|o add th|
|000018a0| 65 69 72 20 6f 77 6e 20 | 6f 70 74 69 6f 6e 61 6c |eir own |optional|
|000018b0| 20 62 69 6e 64 69 6e 67 | 73 20 69 66 20 74 68 65 | binding|s if the|
|000018c0| 79 20 73 6f 20 77 69 73 | 68 2e 0a 0a 41 6c 74 68 |y so wis|h...Alth|
|000018d0| 6f 75 67 68 20 74 68 65 | 20 69 6e 63 6c 75 73 69 |ough the| inclusi|
|000018e0| 6f 6e 20 6f 66 20 74 68 | 65 73 65 20 66 75 6e 63 |on of th|ese func|
|000018f0| 74 69 6f 6e 73 20 73 65 | 65 6d 73 20 74 6f 20 62 |tions se|ems to b|
|00001900| 65 20 61 20 6c 69 74 74 | 6c 65 20 6f 75 74 20 6f |e a litt|le out o|
|00001910| 66 0a 70 6c 61 63 65 20 | 69 6e 20 61 20 73 68 65 |f.place |in a she|
|00001920| 6c 6c 2d 61 6e 64 2d 74 | 6f 6f 6c 73 20 73 74 61 |ll-and-t|ools sta|
|00001930| 6e 64 61 72 64 2c 20 74 | 68 65 72 65 20 69 73 20 |ndard, t|here is |
|00001940| 73 6f 6d 65 20 72 61 74 | 69 6f 6e 61 6c 65 20 66 |some rat|ionale f|
|00001950| 6f 72 20 74 68 69 73 2e | 0a 49 6e 20 66 61 63 74 |or this.|.In fact|
|00001960| 2c 20 77 68 65 6e 20 50 | 4f 53 49 58 20 63 6f 6e |, when P|OSIX con|
|00001970| 73 69 73 74 65 64 20 6f | 6e 6c 79 20 6f 66 20 50 |sisted o|nly of P|
|00001980| 4f 53 49 58 2e 31 2c 20 | 74 68 65 20 65 61 72 6c |OSIX.1, |the earl|
|00001990| 79 20 61 74 74 65 6d 70 | 74 73 20 74 6f 0a 64 65 |y attemp|ts to.de|
|000019a0| 66 69 6e 65 20 73 79 73 | 74 65 6d 28 29 20 61 6e |fine sys|tem() an|
|000019b0| 64 20 70 6f 70 65 6e 28 | 29 20 6d 61 64 65 20 61 |d popen(|) made a|
|000019c0| 70 70 61 72 65 6e 74 20 | 74 68 65 20 6e 65 65 64 |pparent |the need|
|000019d0| 20 74 6f 20 63 6f 6d 70 | 6c 65 74 65 6c 79 0a 73 | to comp|letely.s|
|000019e0| 70 65 63 69 66 79 20 74 | 68 65 20 73 68 65 6c 6c |pecify t|he shell|
|000019f0| 20 6c 61 6e 67 75 61 67 | 65 20 69 6e 20 77 68 69 | languag|e in whi|
|00001a00| 63 68 20 74 68 65 20 61 | 72 67 75 6d 65 6e 74 20 |ch the a|rgument |
|00001a10| 73 74 72 69 6e 67 20 74 | 6f 20 74 68 65 73 65 0a |string t|o these.|
|00001a20| 66 75 6e 63 74 69 6f 6e | 73 20 77 61 73 20 77 72 |function|s was wr|
|00001a30| 69 74 74 65 6e 2e 20 20 | 54 68 61 74 2c 20 69 6e |itten. |That, in|
|00001a40| 20 74 75 72 6e 2c 20 61 | 6c 6f 6e 67 20 77 69 74 | turn, a|long wit|
|00001a50| 68 20 74 68 65 20 64 65 | 73 69 72 65 20 74 6f 0a |h the de|sire to.|
|00001a60| 73 74 61 6e 64 61 72 64 | 69 7a 65 20 74 68 65 20 |standard|ize the |
|00001a70| 63 6c 61 73 73 69 63 61 | 6c 20 55 4e 49 58 20 75 |classica|l UNIX u|
|00001a80| 74 69 6c 69 74 79 20 73 | 65 74 2c 20 6c 65 64 20 |tility s|et, led |
|00001a90| 74 6f 20 74 68 65 20 63 | 72 65 61 74 69 6f 6e 20 |to the c|reation |
|00001aa0| 6f 66 0a 50 4f 53 49 58 | 2e 32 20 61 73 20 74 68 |of.POSIX|.2 as th|
|00001ab0| 65 20 66 69 72 73 74 20 | 6f 66 66 73 68 6f 6f 74 |e first |offshoot|
|00001ac0| 20 67 72 6f 75 70 20 69 | 6e 20 74 68 65 20 50 4f | group i|n the PO|
|00001ad0| 53 49 58 20 66 61 6d 69 | 6c 79 20 6f 66 20 73 74 |SIX fami|ly of st|
|00001ae0| 61 6e 64 61 72 64 73 2e | 0a |andards.|. |
+--------+-------------------------+-------------------------+--------+--------+